package com.so206.mapper;

import com.so206.po.EpayConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EpayConfigMapper {

    int deleteByPrimaryKey(Long id);

    int insert(EpayConfig record);

    int insertSelective(EpayConfig record);

    EpayConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(EpayConfig record);

    int updateByPrimaryKey(EpayConfig record);

    List<EpayConfig> selectByStatusPayTypeNameUrl(@Param("status") Integer status, @Param("payType") Integer payType, @Param("name") String name, @Param("url") String url);

    List<EpayConfig> selectOrderby1();

}